﻿<%@ Page Title=" Login | Hardware-R-Us" Language="C#" MasterPageFile="~/Main.Master"
    AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WDTAsg2.Login" Theme="Normal_User_Theme" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body>
        <form id="frmsub">
        <div id="form">
            &nbsp;<asp:LoginView ID="LoginView1" runat="server">
                <AnonymousTemplate>
                    <asp:Login ID="Login2" runat="server" UserNameLabelText="Email:">
                    </asp:Login>
                    <asp:Label ID="Label1" runat="server" Text="Click"></asp:Label>
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Guest/Register.aspx">here</asp:HyperLink>
                    <asp:Label ID="Label2" runat="server" Text="to register"></asp:Label>
                    <br />
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Login2" />
                </AnonymousTemplate>
                <LoggedInTemplate>
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                    To Access as Admin please Logout and Login&nbsp;<asp:LoginStatus ID="LoginStatus1"
                        runat="server" LoginText="" />
                    &nbsp;
                </LoggedInTemplate>
            </asp:LoginView>
            &nbsp;<br />
            <br />
        </div>
        </form>
    </body>
    </html>
</asp:Content>
